import request from '@/utils/request'

// 查询消息列表
export function getNoticeList(params) {
  return request({
    url: '/system/saas/notice/list',
    params,
    method: 'get'
  })
}
// 读取消息
export function readNotice(noticeId) {
  return request({
    url: `/system/saas/notice/${noticeId}`,
    method: 'get'
  })
}

// 删除消息
export function deleteNotice(noticeId) {
  return request({
    url: `/system/saas/notice/${noticeId}`,
    method: 'delete'
  })
}
